package cate.common.table.hallow.row;

import cate.common.table.EExcelRowClass;
import cate.common.table.ERow;
import cate.common.table.XSSFRowWrap;
@EExcelRowClass
public class HallowSkillRow extends ERow {
    public int levelRequire;

    public int level;

    public int type;

    public int skillId;

    public int deputySkillId;

    public double damage;

    public String consumeStr;

    public String attrStr;

    public String backStr;

    public boolean isTopLevel;

    @Override
    public void parse(XSSFRowWrap xrw) {
        super.parse(xrw);
        this.levelRequire = xrw.getInteger("圣器等级要求");
        this.level = xrw.getInteger("技能等级");
        this.type = xrw.getInteger("圣器ID");
        this.skillId = xrw.getInteger("技能ID", 0);
        this.deputySkillId = xrw.getInteger("副技能ID", 0);
        this.damage = xrw.getDouble("真实伤害", 0d);
        this.consumeStr = xrw.getString("消耗材料");
        this.attrStr = xrw.getString("全员附加属性");
        this.backStr = xrw.getString("重铸返还道具累计数量", "");
        this.isTopLevel = xrw.getBoolean("是否顶级",false);
        this.id = this.type * 1000 + this.level;
    }
}
